package com.chy.order_meal.dao;

import com.chy.order_meal.po.Goods;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface GoodsDao extends JpaRepository<Goods, Integer> {

    List<Goods> findAllByGoodsType(Integer id);


}
